#include "../include/N_arytree.h"
#include<string.h>

int count_forwardSlash(char* pathString, char ch)
{
    int count = 0;
    int i;

    int length = strlen(pathString);

    for (i = 0; i < length; i++)
    {
        if (pathString[i] == ch)
        {
            count++;
        }
    }

    return count;
}


void insert(char* fileDescName, NryTree *root)
{
	int i,count;
	NryTree *temp;
	count=count_forwardSlash(fileDescName,'/');
	if(root==NULL)
	{
		temp= (NryTree*) malloc(sizeof(NryTree));
		temp->
	}
	for(i=0;i<count;i++)
	{
		
	}
}




